package com.game;

import com.dats.pool.DatSPool;
import com.game.hot.Manager;
import com.game.pool.DMPool;
import com.game.pool.NameKeyPool;
import com.game.pool.QuartzPool;
import com.game.util.LogUtil;
import com.nets.pool.NetPool;
import com.nets.pool.ServerPool;
import com.nets.server.ServerLauncher;

/**
 * @author sig
 * @since 2016/9/24
 */
public class ServerMain {

    public static void main(String[] args) {
        LogUtil.init();
        ServerPool.init();
        NetPool.init();
        DMPool.init();
        DatSPool.init();
        QuartzPool.init();
        NameKeyPool.init();
        Manager.getLoadMg().loadGameData();
        new ServerLauncher(ServerPool.serverPort);
    }
}
